package com.feicheng.common.wx;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@PropertySource(value = {"classpath:wx.properties"}, encoding = "UTF-8")
@Component("wx-http")
@ConfigurationProperties(prefix = "url")
@Data
@EqualsAndHashCode(callSuper = false)
public class WxHTTPInterface {

    @Value("${url.jscode}")
    private String jscode;

}
